home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1191 / 1191.xpi / chrome / reminderfox.jar / content / reminderfox / alarms / quickAlarmDialog.xul < prev   
Extensible Markup Language  |  2009-10-26  |  6KB  |  137 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://reminderfox/skin/reminder.css"  type="text/css"?>
  5.  
  6. <?xul-overlay href="chrome://reminderfox/content/datepicker/datepicker-overlay.xul"?>
  7. <?xul-overlay href="chrome://reminderfox/content/editing/eventEntryOverlay.xul"?>
  8.  
  9. <!-- DTD Files -->
  10. <!DOCTYPE window 
  11. [
  12.     <!ENTITY % dtd2 SYSTEM "chrome://reminderfox/locale/reminderfox.dtd" > %dtd2;
  13. ]>
  14.  
  15.  
  16. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  17.         id="reminderFox-quickAlarmDialog"
  18.         persist="screenX screenY"        
  19.         onfocus="reminderFox_snoozeTimeChanged()"
  20.         onload="loadAlarmOptions()" 
  21.         title="&rf.quickalarm.dialog.title;">
  22.  
  23.     <stringbundleset id="stringbundleset">
  24.         <stringbundle id="reminderFox-bundle" src="chrome://reminderfox/locale/reminderfox.properties"/>
  25.     </stringbundleset>
  26.     <script type="application/x-javascript" src="chrome://reminderfox/content/alarms/quickAlarmDialog.js" />
  27.     <script type="application/x-javascript" src="chrome://reminderfox/content/reminderFoxCore.js" />
  28.     <script type="application/x-javascript" src="chrome://reminderfox/content/reminderFox.js" />
  29.     <script type="application/x-javascript" src="chrome://reminderfox/content/editing/eventEntry.js" />
  30.     <script type="application/x-javascript" src="chrome://reminderfox/content/datepicker/datepicker.js"/>
  31.     <script type="application/x-javascript" src="chrome://reminderfox/content/addReminderDialog.js"/>
  32.  
  33.  
  34.     <keyset id="reminderFoxOptions-keys">
  35.         <key keycode="VK_ESCAPE" oncommand="reminderFox_closeAlarm();"/>
  36.         <key keycode="VK_ENTER" oncommand="setAlarm();"/>
  37.         <key keycode="VK_RETURN" oncommand="setAlarm();"/>
  38.     </keyset>
  39.     
  40.  
  41.     
  42.     
  43.  
  44.     <vbox id="reminderFoxVbox" flex="1">
  45.         <hbox align="center" >
  46.             <label id="alarmDescLabel" value="&rf.add.addTodo.description.label;" />
  47.             <textbox width="305px" flex="1" id="newAlarmText"  />
  48.             <toolbarbutton id="notesToggle" type="checkbox"  oncommand="reminderFox_toggleNotes();" tabindex="2" autoCheck="false" />
  49.         </hbox>
  50.         
  51.         <vbox  orient="vertical" flex="2" >
  52.             <textbox width="305px" flex="1" id="notesText" multiline="true" rows="4" />
  53.         </vbox>
  54.  
  55.         <hbox id="alertGroup" align="center" >
  56.             <label  id="reminderFox-alert" value="&rf.quickalarm.notify.label;"  />
  57.             <menulist id="reminderFox-alertTime" editable="true"  oninput="reminderFox_updateSnoozeTimeDate()" oncommand="reminderFox_updateSnoozeTimeDate()" >
  58.                 <menupopup>
  59.                     <menuitem label="1" />
  60.                     <menuitem label="5" />
  61.                     <menuitem label="10" />
  62.                     <menuitem label="15" selected="true" />
  63.                     <menuitem label="30" />
  64.                     <menuitem label="60" />
  65.                 </menupopup>
  66.             </menulist>
  67.             <menulist id="reminderFox-alertTimeUnits" oncommand="reminderFox_updateSnoozeTimeDate()" >
  68.                 <menupopup>
  69.                     <menuitem label="&rf.reminderoptions.notify.minutes.label;" />
  70.                     <menuitem label="&rf.reminderoptions.notify.hours.label;" />
  71.                     <menuitem label="&rf.reminderoptions.notify.days.label;" />
  72.                 </menupopup>
  73.             </menulist>
  74.             <label id="reminderFox-alertInfo" value="&rf.quickalarm.notify.fromnow;" />
  75.             
  76.             <!-- Calendar date-input and calendar popup button -->
  77.             <popup onpopupshowing="reminderfox_showCalendarQA();" id="oe-date-picker-popup" onpopuphidden="popupClosedQA(this);">
  78.                  <vbox id="oe-date-picker-overlay-box" flex="1"/>
  79.                 <hbox>
  80.                     <hbox id="timeEntry"  />
  81.                     <spacer class="reminderFox-btnspacer" flex="1"/>    
  82.                     <button label="&rf.ok;" id="okButton" default="true"  oncommand="popupOk(this); "  />    
  83.                 </hbox>
  84.             </popup>
  85.  
  86.             <toolbarbutton id="datepickerToggle" onclick="onclickFunc(event, false)"  position="after_start"  tooltiptext="&rf.reminderoptions.tooltip.selectdate;"  />
  87.             
  88.         </hbox>
  89.  
  90.         <hbox id="reminderFox-options-footer" class="reminderFox-footer3" align="center"/>
  91.         <hbox id="reminderFox-options-footer" class="reminderFox-footer2" align="center"/>
  92.         
  93.         <vbox id="snoozeGroup" >
  94.             <hbox align="center" >
  95.                 <button id="snoozeButton" label="&rf.alarm.button.snooze;"  oncommand="setAlarm();" />
  96.                 <menulist id="reminderFox-snoozeTime" editable="true" oninput="reminderFox_snoozeTimeChanged();"  oncommand="reminderFox_snoozeTimeChanged();" >
  97.                     <menupopup>
  98.                         <menuitem label="1" />
  99.                         <menuitem label="5" />
  100.                         <menuitem label="10" />
  101.                         <menuitem label="15" />
  102.                         <menuitem label="30" />
  103.                         <menuitem label="60" />
  104.                     </menupopup>
  105.                 </menulist>
  106.                 <menulist id="reminderFox-snoozeTimeUnits" oncommand="reminderFox_updateSnoozeTimeDate()" >
  107.                     <menupopup>
  108.                         <menuitem label="&rf.reminderoptions.notify.minutes.label;" />
  109.                         <menuitem label="&rf.reminderoptions.notify.hours.label;" />
  110.                         <menuitem label="&rf.reminderoptions.notify.days.label;" />
  111.                     </menupopup>
  112.                 </menulist>
  113.                 <spacer id="entry-spacer.i" width="30px" />
  114.                 <spacer class="reminderFox-btnspacer" flex="1"/>    
  115.                 <button label="&rf.ok;" id="okButton" default="true"  oncommand="reminderFox_closeAlarm();"  />        
  116.             </hbox>
  117.             <hbox align="center" >
  118.                 <label value="&rf.alarm.snoozeUntil.label;" disabled="true"/>  
  119.                 <label id="snoozeUntilTime"  align="right" disabled="true" /> 
  120.             </hbox>
  121.         </vbox>
  122.  
  123.         <vbox id="alertButtonGroup">
  124.             <hbox align="center" >
  125.                 <spacer class="reminderFox-btnspacer" flex="1"/>
  126.                 <button label="&rf.ok;" default="true"  oncommand="setAlarm()"   />
  127.                 <button label="&rf.cancel;"  oncommand="window.close();"  />
  128.             </hbox>
  129.             <hbox>
  130.                 <label value="&rf.quickalarm.alarmAt.label;" disabled="true"/>  
  131.                 <label id="alarmAtTime"  align="right" disabled="true" /> 
  132.             </hbox>
  133.         </vbox>
  134.    </vbox>
  135.  
  136. </window>
  137.